package br.unesp.demac.ccn07.aula4.jogo;

import javax.swing.JButton;

public class MyButton extends JButton {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private int position;
	
	public MyButton(int position){
		this.setPosition(position);
	}
	
	public void setPosition(int position) {
		this.position = position;
	}

	public int getPosition() {
		return position;
	}

}
